gtk4.git
18 years agoMake function naming consistent for the various functions that retrieve
Richard Hult [Fri, 1 Jun 2007 21:03:34 +0000 (21:03 +0000)]
Make function naming consistent for the various functions that retrieve

2007-06-01  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.[ch]: Make function naming
consistent for the various functions that retrieve data from an
event.

* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
_gdk_quartz_window_find_child_by_point() function.

svn path=/trunk/; revision=18006

18 years agoAdd support for composited child windows. (#412882, Ryan Lortie)
Matthias Clasen [Fri, 1 Jun 2007 12:16:12 +0000 (12:16 +0000)]
Add support for composited child windows. (#412882, Ryan Lortie)

2007-06-01  Matthias Clasen  <mclasen@redhat.com>

        Add support for composited child windows.  (#412882, Ryan Lortie)

        * gdk/gdk.symbols:
        * gdk/gdkdisplay.h:
        * gdk/gdkinternals.h:
        * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
        gdk_window_set_composited().

        * gdk/x11/gdkevents-x11.c:
        * gdk/x11/gdkdisplay-x11.[hc]:
        * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.

        * gdk/win32/gdkdisplay-win32.c:
        * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.

        * gdk/quartz/gdkdisplay-quartz.c:
        * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.

        * gdk/directfb/gdkdisplay-directfb.c:
        * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.

        * tests/testgtk.c: Add a "composited window" test.

svn path=/trunk/; revision=18004

18 years agodon't switch submenu opening direction for overlapping reasons if there is
Michael Natterer [Fri, 1 Jun 2007 11:02:11 +0000 (11:02 +0000)]
don't switch submenu opening direction for overlapping reasons if there is

2007-06-01  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
submenu opening direction for overlapping reasons if there is even
less space on the other side (bug #441863, Tommi Komulainen).

svn path=/trunk/; revision=18002

18 years agochange fix for #347883 to not obfuscate the code.
Michael Natterer [Fri, 1 Jun 2007 08:19:12 +0000 (08:19 +0000)]
change fix for #347883 to not obfuscate the code.

2007-06-01  Michael Natterer  <mitch@imendio.com>

* gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
to not obfuscate the code.

svn path=/trunk/; revision=18001

18 years agoAvoid recreating pangolayouts in GtkTextView on cursor movement (#435405,
Yevgen Muntyan [Fri, 1 Jun 2007 06:25:43 +0000 (06:25 +0000)]
Avoid recreating pangolayouts in GtkTextView on cursor movement (#435405,

2007-06-01  Yevgen Muntyan  <muntyan@tamu.edu>

Avoid recreating pangolayouts in GtkTextView on cursor movement
(#435405, Behdad Esfahbod).

* gtk/gtktextlayout.c:
* gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
and functions gtk_text_layout_invalidate_cursors() and
gtk_text_layout_cursors_changed(), to use when invalidation is due
to moved marks or changed selection.

* gtk/gtktextbtree.c:
* gtk/gtktextbtree.h: use what's appropriate when invalidating layout.

* gtk/gtk.symbols: add new functions.

* README.in: added a note about changed GtkTextLayout API.

svn path=/trunk/; revision=18000

18 years agoFix doc typos.
Alp Toker [Fri, 1 Jun 2007 05:10:50 +0000 (05:10 +0000)]
Fix doc typos.

2007-06-01  Alp Toker  <alp.toker@collabora.co.uk>

* gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.

svn path=/trunk/; revision=17999

18 years agouse text colors from widget style to draw cursor instead of hardcoded
Yevgen Muntyan [Fri, 1 Jun 2007 05:02:05 +0000 (05:02 +0000)]
use text colors from widget style to draw cursor instead of hardcoded

2007-05-31  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
widget style to draw cursor instead of hardcoded black and grey
(#79585, comment #30).

svn path=/trunk/; revision=17998

18 years agotransform the ink_rect using pango_extents_to_pixels to avoid rounding
Kristian Rietveld [Thu, 31 May 2007 22:21:55 +0000 (22:21 +0000)]
transform the ink_rect using pango_extents_to_pixels to avoid rounding

2007-06-01  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
pango_extents_to_pixels to avoid rounding errors.  (Fixes #430218,
Shlomi Israel).

svn path=/trunk/; revision=17996

18 years agoReactivate the other file-chooser tests. Forgot that before commiting revision 17994.
Mathias Hasselmann [Thu, 31 May 2007 21:52:05 +0000 (21:52 +0000)]
Reactivate the other file-chooser tests. Forgot that before commiting revision 17994.

svn path=/trunk/; revision=17995

18 years agoReset the internal response_requested flag, once the response triggered by file_choos...
Mathias Hasselmann [Thu, 31 May 2007 21:45:20 +0000 (21:45 +0000)]
Reset the internal response_requested flag, once the response triggered by file_chooser_widget_response_requested has been processed (#347883)

svn path=/trunk/; revision=17994

18 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Thu, 31 May 2007 09:08:25 +0000 (09:08 +0000)]
Updated Thai translation.

* th.po: Updated Thai translation.

svn path=/trunk/; revision=17992

18 years agoAdd this function, bug #438440.
Richard Hult [Wed, 30 May 2007 17:20:26 +0000 (17:20 +0000)]
Add this function, bug #438440.

2007-05-30  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
function, bug #438440.

svn path=/trunk/; revision=17991

18 years agoSupply the current GError for fatal_error_handler(). (#441443)
Chris Wilson [Wed, 30 May 2007 16:11:48 +0000 (16:11 +0000)]
Supply the current GError for fatal_error_handler(). (#441443)

2007-05-30  Chris Wilson  <chris@chris-wilson.co.uk>

    * io-jpeg.c (gdk_pixbuf__jpeg_image_stop_load):
    Supply the current GError for fatal_error_handler(). (#441443)

svn path=/trunk/; revision=17989

18 years agoSubtract the multi-monitor offset from x and y before setting up the
Tor Lillqvist [Wed, 30 May 2007 15:44:28 +0000 (15:44 +0000)]
Subtract the multi-monitor offset from x and y before setting up the

2007-05-30  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
multi-monitor offset from x and y before setting up the rectangle
for ClipCursor(). Fixes #442326.

svn path=/trunk/; revision=17988

18 years agoQueue a resize if the size changed. (#418047, Alex Graveley)
Matthias Clasen [Wed, 30 May 2007 13:28:24 +0000 (13:28 +0000)]
Queue a resize if the size changed. (#418047, Alex Graveley)

2007-05-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
        if the size changed.  (#418047, Alex Graveley)

svn path=/trunk/; revision=17985

18 years agoClosed #442183 – Updated gdk/gdkkeysyms-update.pl
Simos Xenitellis [Wed, 30 May 2007 13:23:40 +0000 (13:23 +0000)]
Closed #442183 – Updated gdk/gdkkeysyms-update.pl

svn path=/trunk/; revision=17984

18 years agoFix to update the file chooser entry
Emmanuele Bassi [Wed, 30 May 2007 12:27:47 +0000 (12:27 +0000)]
Fix to update the file chooser entry

Return after setting the file chooser entry instead of falling through. Also
remove the handling for the search and recent files operation modes, since
they don't have a location entry to update.

svn path=/trunk/; revision=17983

18 years agoCorrect the handling of display names.
Matthias Clasen [Wed, 30 May 2007 05:56:32 +0000 (05:56 +0000)]
Correct the handling of display names.

svn path=/trunk/; revision=17982

18 years agoForgot the bug number.
Xan Lopez [Tue, 29 May 2007 22:33:29 +0000 (22:33 +0000)]
Forgot the bug number.

svn path=/trunk/; revision=17981

18 years agoUpdate
Xan Lopez [Tue, 29 May 2007 22:13:57 +0000 (22:13 +0000)]
Update

svn path=/trunk/; revision=17980

18 years agoSmall cleanup in gtk_notebook_set_current_page and fix doc typo.
Xan Lopez [Tue, 29 May 2007 22:13:42 +0000 (22:13 +0000)]
Small cleanup in gtk_notebook_set_current_page and fix doc typo.

svn path=/trunk/; revision=17979

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 29 May 2007 15:53:28 +0000 (15:53 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=17978

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 29 May 2007 15:53:01 +0000 (15:53 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=17977

18 years agoFix initialization of last cursor
Cody Russell [Tue, 29 May 2007 01:04:59 +0000 (01:04 +0000)]
Fix initialization of last cursor

svn path=/trunk/; revision=17973

18 years agoBreak out code that was repeated into separate functions and call them
Richard Hult [Mon, 28 May 2007 21:11:55 +0000 (21:11 +0000)]
Break out code that was repeated into separate functions and call them

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
(get_ancestor_coordinates_from_child): Break out code that was
repeated into separate functions and call them instead.
(find_window_for_mouse_nsevent): Break out this from
find_window_for_nsevent to make the code clearer.
(find_window_for_nsevent): Use the above and fix the returned
coordinates in the process so that they are always relative the
found window, both for the normal case and during grabs. Still
needs fixing for the case where we get nsevents for a window other
than than grab window during grabs.

svn path=/trunk/; revision=17971

18 years agoFix typo, we need both press and release in the mask to trigger implicit
Richard Hult [Mon, 28 May 2007 20:55:26 +0000 (20:55 +0000)]
Fix typo, we need both press and release in the mask to trigger implicit

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
  we need both press and release in the mask to trigger implicit
grabs.

svn path=/trunk/; revision=17970

18 years agoReset all the grab state, to help debugging. (gdk_event_translate): Use
Richard Hult [Mon, 28 May 2007 20:51:11 +0000 (20:51 +0000)]
Reset all the grab state, to help debugging. (gdk_event_translate): Use

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
all the grab state, to help debugging.
(gdk_event_translate): Use pointer_ungrab_internal instead of
duplicating the code here.

svn path=/trunk/; revision=17969

18 years agoRefactored version of _gdk_quartz_window_find_child_by_point, that doesn't
Richard Hult [Mon, 28 May 2007 20:42:51 +0000 (20:42 +0000)]
Refactored version of _gdk_quartz_window_find_child_by_point, that doesn't

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
(_gdk_quartz_window_find_child): Refactored version of
_gdk_quartz_window_find_child_by_point, that doesn't return any
coordinates as the users of this function already have the
coordinates and need to translate them differently.
(_gdk_windowing_window_get_pointer): Fixup coordinate translation.
(_gdk_windowing_window_at_pointer): Likewise.

svn path=/trunk/; revision=17968

18 years agoDon't traverse beyond the toplevel of the passed in window.
Richard Hult [Mon, 28 May 2007 20:24:59 +0000 (20:24 +0000)]
Don't traverse beyond the toplevel of the passed in window.

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c
(find_window_interested_in_event_mask): Don't traverse beyond the
toplevel of the passed in window.

svn path=/trunk/; revision=17967

18 years agoSet a size for the root window.
Richard Hult [Mon, 28 May 2007 20:22:26 +0000 (20:22 +0000)]
Set a size for the root window.

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
a size for the root window.

svn path=/trunk/; revision=17966

18 years agoAdd comments about what various coordinates are relative to.
Richard Hult [Mon, 28 May 2007 20:20:46 +0000 (20:20 +0000)]
Add comments about what various coordinates are relative to.

2007-05-28  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: Add comments about what various
coordinates are relative to.

svn path=/trunk/; revision=17965

18 years agoAdd back variable declaration removed in r17958.
Carlos Garnacho [Mon, 28 May 2007 13:34:39 +0000 (13:34 +0000)]
Add back variable declaration removed in r17958.

2007-05-28  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
        Add back variable declaration removed in r17958.

svn path=/trunk/; revision=17964

18 years agoAdd new capability GTK_PRINT_CAPABILITY_NUMBER_UP.
Carlos Garcia Campos [Mon, 28 May 2007 10:41:09 +0000 (10:41 +0000)]
Add new capability GTK_PRINT_CAPABILITY_NUMBER_UP.

2007-05-28  Carlos Garcia Campos  <carlosgc@gnome.org>
* gtk/gtkprinter.[ch]: Add new capability
GTK_PRINT_CAPABILITY_NUMBER_UP.
* docs/reference/gtk/tmpl/gtkprintunixdialog.sgml:
* gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
* modules/printbackends/file/gtkprintbackendfile.c:
(file_printer_get_options), (file_printer_get_settings_from_options):
* modules/printbackends/cups/gtkprintbackendcups.c:
(cups_printer_get_capabilities): Add a new print capability to specify
whether print dialog will offer printing multiple pages per sheet. (#398414)

svn path=/trunk/; revision=17963

18 years agoDocument some more signals
Matthias Clasen [Mon, 28 May 2007 06:46:33 +0000 (06:46 +0000)]
Document some more signals

svn path=/trunk/; revision=17958

18 years agoImprove docs
Matthias Clasen [Mon, 28 May 2007 05:18:51 +0000 (05:18 +0000)]
Improve docs

svn path=/trunk/; revision=17957

18 years agoforgotten file
Matthias Clasen [Mon, 28 May 2007 05:01:56 +0000 (05:01 +0000)]
forgotten file

svn path=/trunk/; revision=17956

18 years agoDrop bogus -user32 switch. Was supposed to be -luser32, but he "l" was
Tor Lillqvist [Sun, 27 May 2007 18:45:09 +0000 (18:45 +0000)]
Drop bogus -user32 switch. Was supposed to be -luser32, but he "l" was

2007-05-27  Tor Lillqvist  <tml@novell.com>

* configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
supposed to be -luser32, but he "l" was missing. But nobody has
noticed, so presumably unnecessary.

svn path=/trunk/; revision=17955

18 years agomore signal linkification
Matthias Clasen [Sun, 27 May 2007 03:02:29 +0000 (03:02 +0000)]
more signal linkification

svn path=/trunk/; revision=17949

18 years agoSome cleanups
Matthias Clasen [Sun, 27 May 2007 02:59:45 +0000 (02:59 +0000)]
Some cleanups

2007-05-26   Matthias Clasen  <mclasen@redhat.com>

        * gtk/migrating*.sgml: Some cleanups

svn path=/trunk/; revision=17948

18 years agoMove docs inline
Matthias Clasen [Sun, 27 May 2007 02:32:21 +0000 (02:32 +0000)]
Move docs inline

2007-05-26   Matthias Clasen  <mclasen@redhat.com>

        * gtk/tmpl/gtkentry.sgml: Move docs inline

        * gtk/tmpl/gtklinkbutton.sgml:
        * gtk/tmpl/gtkfilechooser.sgml:
        * gtk/tmpl/gtkcellrenderer.sgml:
        * gtk/tmpl/gtkenums.sgml:
        * gtk/tmpl/gtkcontainer.sgml: Additions

svn path=/trunk/; revision=17947

18 years agoMore doc fixups
Matthias Clasen [Sun, 27 May 2007 01:53:59 +0000 (01:53 +0000)]
More doc fixups

svn path=/trunk/; revision=17946

18 years agoRemove GdkBitmap
Matthias Clasen [Sun, 27 May 2007 01:39:28 +0000 (01:39 +0000)]
Remove GdkBitmap

2007-05-26   Matthias Clasen  <mclasen@redhat.com>

        * gdk/gdk-overrides.txt: Remove GdkBitmap
        * gtk/gtk-sections.txt:
        * gtk/tmpl/gtkenums.sgml:
        * gdk/tmpl/rgb.sgml:
        * gdk/tmpl/gcs.sgml:
        * gdk/tmpl/pango_interaction.sgml:
        * gdk/tmpl/windows.sgml: Additions

svn path=/trunk/; revision=17945

18 years agoRemove duplicate doc comments that cause problems when building the docs.
Matthias Clasen [Sun, 27 May 2007 01:36:52 +0000 (01:36 +0000)]
Remove duplicate doc comments that cause problems when building the docs.

2007-05-26  Matthias Clasen  <mclasen@redhat.com>

        * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
        that cause problems when building the docs.

svn path=/trunk/; revision=17944

18 years agoAdd new api
Matthias Clasen [Sat, 26 May 2007 20:56:19 +0000 (20:56 +0000)]
Add new api

svn path=/trunk/; revision=17943

18 years agoUpdate docs
Matthias Clasen [Sat, 26 May 2007 20:50:34 +0000 (20:50 +0000)]
Update docs

svn path=/trunk/; revision=17942

18 years agoUpdate docs
Matthias Clasen [Sat, 26 May 2007 20:49:08 +0000 (20:49 +0000)]
Update docs

svn path=/trunk/; revision=17941

18 years agoAdd new api
Matthias Clasen [Sat, 26 May 2007 20:45:41 +0000 (20:45 +0000)]
Add new api

svn path=/trunk/; revision=17940

18 years agoFix docs
Matthias Clasen [Sat, 26 May 2007 20:43:23 +0000 (20:43 +0000)]
Fix docs

svn path=/trunk/; revision=17939

18 years agoMore doc fixage
Matthias Clasen [Sat, 26 May 2007 20:39:14 +0000 (20:39 +0000)]
More doc fixage

svn path=/trunk/; revision=17938

18 years agoMore doc fixage
Matthias Clasen [Sat, 26 May 2007 20:29:26 +0000 (20:29 +0000)]
More doc fixage

svn path=/trunk/; revision=17937

18 years agoMore doc fixes
Matthias Clasen [Sat, 26 May 2007 20:24:25 +0000 (20:24 +0000)]
More doc fixes

svn path=/trunk/; revision=17936

18 years agoBring docs in shape
Matthias Clasen [Sat, 26 May 2007 20:22:51 +0000 (20:22 +0000)]
Bring docs in shape

svn path=/trunk/; revision=17935

18 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 19:04:35 +0000 (19:04 +0000)]
Document new api

svn path=/trunk/; revision=17934

18 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 19:03:18 +0000 (19:03 +0000)]
Document new api

svn path=/trunk/; revision=17933

18 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 18:59:43 +0000 (18:59 +0000)]
Document new api

svn path=/trunk/; revision=17932

18 years agodocument new api
Matthias Clasen [Sat, 26 May 2007 18:56:07 +0000 (18:56 +0000)]
document new api

svn path=/trunk/; revision=17931

18 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 18:53:50 +0000 (18:53 +0000)]
Document new api

svn path=/trunk/; revision=17930

18 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 18:51:06 +0000 (18:51 +0000)]
Document new api

svn path=/trunk/; revision=17929

18 years agoDocument new api
Matthias Clasen [Sat, 26 May 2007 18:49:58 +0000 (18:49 +0000)]
Document new api

svn path=/trunk/; revision=17928

18 years agoBring the dogs in shape
Matthias Clasen [Sat, 26 May 2007 18:44:33 +0000 (18:44 +0000)]
Bring the dogs in shape

svn path=/trunk/; revision=17927

18 years agoFix typo to get the build working.
Richard Hult [Sat, 26 May 2007 08:07:37 +0000 (08:07 +0000)]
Fix typo to get the build working.

2007-05-26  Richard Hult  <richard@imendio.com>

* gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
build working.

svn path=/trunk/; revision=17926

18 years agoMore of the same
Matthias Clasen [Sat, 26 May 2007 07:13:52 +0000 (07:13 +0000)]
More of the same

svn path=/trunk/; revision=17925

18 years agoRequire gtk-doc 1.6, for signal and property links.
Matthias Clasen [Sat, 26 May 2007 06:59:36 +0000 (06:59 +0000)]
Require gtk-doc 1.6, for signal and property links.

2007-05-26  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Require gtk-doc 1.6, for signal and property links.
        * gtk/gtkbox.c:
        * gtk/gtkbutton.c:
        * gtk/gtkcontainer.c:
        * gtk/gtkdialog.c:
        * gtk/gtkentry.c:
        * gtk/gtkimage.c:
        * gtk/gtklabel.c:
        * gtk/gtkmisc.c:
        * gtk/gtksettings.c:
        * gtk/gtkwidget.c: Documentation improvements, link signals
        and properties where it makes sense.

svn path=/trunk/; revision=17924

18 years agoFormatting fixes.
Matthias Clasen [Sat, 26 May 2007 04:39:23 +0000 (04:39 +0000)]
Formatting fixes.

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextmark.c:
        * gtk/gtktextbuffer.c: Formatting fixes.

svn path=/trunk/; revision=17923

18 years agoAllow to separate GtkTextMark creation from buffer insertion. (#132818,
Matthias Clasen [Sat, 26 May 2007 04:10:42 +0000 (04:10 +0000)]
Allow to separate GtkTextMark creation from buffer insertion. (#132818,

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

        Allow to separate GtkTextMark creation from buffer insertion.
        (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)

        * gtk/gtktextmarkprivate.h:
        * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
        create a GtkTextMark.

        * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
        function to add an existing mark to a buffer.

        * gtk/gtktextbtree.c: Allow adding existing marks.

        * gtk/gtk.symbols: Add new functions.

        * tests/testtextbuffer.c: Add some tests for new mark
        functionality.

svn path=/trunk/; revision=17922

18 years agoForgot to put bug number.
Xan Lopez [Fri, 25 May 2007 21:23:45 +0000 (21:23 +0000)]
Forgot to put bug number.

svn path=/trunk/; revision=17921

18 years agoUse private->data->short_label to update the proxies.
Xan Lopez [Fri, 25 May 2007 21:02:46 +0000 (21:02 +0000)]
Use private->data->short_label to update the proxies.

* gtk/gtkaction.c: (gtk_action_set_short_label):
Use private->data->short_label to update the proxies.

svn path=/trunk/; revision=17918

18 years agoImplement copying from a window, part of bug #348493.
Richard Hult [Fri, 25 May 2007 19:47:23 +0000 (19:47 +0000)]
Implement copying from a window, part of bug #348493.

2007-05-25  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
Implement copying from a window, part of bug #348493.

svn path=/trunk/; revision=17917

18 years agoHold a refence on the print operation until gtk_print_job_send() is done.
Matthias Clasen [Fri, 25 May 2007 17:22:55 +0000 (17:22 +0000)]
Hold a refence on the print operation until gtk_print_job_send() is done.

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a
        refence on the print operation until gtk_print_job_send()
        is done.  (#440040, Chris Vine)

svn path=/trunk/; revision=17915

18 years agoDon't crash and don't leak. (#439565, Pedro Villavicencio)
Matthias Clasen [Fri, 25 May 2007 16:29:14 +0000 (16:29 +0000)]
Don't crash and don't leak. (#439565, Pedro Villavicencio)

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
        Don't crash and don't leak.  (#439565, Pedro Villavicencio)

svn path=/trunk/; revision=17913

18 years agoImprove a warning Always set the error when returning NULL. (#440982,
Matthias Clasen [Fri, 25 May 2007 15:31:28 +0000 (15:31 +0000)]
Improve a warning Always set the error when returning NULL. (#440982,

2007-05-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconfactory.c: Improve a warning
        * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
        set the error when returning NULL.  (#440982, Carlos Garcia
        Campos)

svn path=/trunk/; revision=17912

18 years agoMerge fix from maemo-gtk:
Michael Natterer [Fri, 25 May 2007 09:33:05 +0000 (09:33 +0000)]
Merge fix from maemo-gtk:

2007-05-25  Michael Natterer  <mitch@imendio.com>

Merge fix from maemo-gtk:

* gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
also if the menu item we're entering is already selected. Also, it
makes no sense to forward the event to the parent menu shell if we
are entering a menu item of *this* menu shell.

svn path=/trunk/; revision=17911

18 years agoAd missing png icons
Matthias Clasen [Fri, 25 May 2007 01:45:40 +0000 (01:45 +0000)]
Ad missing png icons

svn path=/trunk/; revision=17910

18 years agoUpdated Danish translation
Kenneth Nielsen [Thu, 24 May 2007 23:46:31 +0000 (23:46 +0000)]
Updated Danish translation

svn path=/trunk/; revision=17909

18 years agoFix broken DESTDIR support
Matthias Clasen [Thu, 24 May 2007 19:43:05 +0000 (19:43 +0000)]
Fix broken DESTDIR support

svn path=/trunk/; revision=17907

18 years agoapply patch from Bogdan Nicula which fixes a crash on GdkWindows which
Michael Natterer [Thu, 24 May 2007 15:54:23 +0000 (15:54 +0000)]
apply patch from Bogdan Nicula which fixes a crash on GdkWindows which

2007-05-24  Michael Natterer  <mitch@imendio.com>

* gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
Bogdan Nicula which fixes a crash on GdkWindows which have no
GtkWidget as user_data (bug #440890).

svn path=/trunk/; revision=17906

18 years agobump version
Matthias Clasen [Thu, 24 May 2007 06:04:12 +0000 (06:04 +0000)]
bump version

svn path=/trunk/; revision=17905

18 years ago2.11.0
Matthias Clasen [Thu, 24 May 2007 05:51:56 +0000 (05:51 +0000)]
2.11.0

svn path=/trunk/; revision=17903

18 years agoUpdates
Matthias Clasen [Thu, 24 May 2007 04:23:42 +0000 (04:23 +0000)]
Updates

svn path=/trunk/; revision=17902

18 years agoAdd some missing symbols.
Matthias Clasen [Wed, 23 May 2007 17:49:34 +0000 (17:49 +0000)]
Add some missing symbols.

2007-05-23   Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gdk/x11/xsettings-common.h:
        * gdk/gdk.symbols: Add some missing symbols.

        * gtk/paper_names_offsets.c:
        * gtk/gen-paper-names.c: Make variables static.

        * gtk/gtktooltip.[hc]:
        * gtk/gtkvolumebutton.c:
        * gtk/gtkscalebutton.c:  Fix up symbol aliasing.

svn path=/trunk/; revision=17899

18 years agomissing #include <ctype.h>.
Yevgen Muntyan [Wed, 23 May 2007 15:06:03 +0000 (15:06 +0000)]
missing #include <ctype.h>.

2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtkprintunixdialog.c: missing #include <ctype.h>.

* gtk/gtkhandlebox.c (gtk_handle_box_paint):
* gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
* gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
* gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
* gtk/gtkpreview.c (gtk_preview_finalize):
* gtk/gtknotebook.c (gtk_notebook_set_group_id):
* tests/testnotebookdnd.c (window_creation_function):
* tests/testiconview.c (do_popup_menu):
Fixed some compiler warnings (#440689).

svn path=/trunk/; revision=17898

18 years agoFix make check
Matthias Clasen [Wed, 23 May 2007 14:02:14 +0000 (14:02 +0000)]
Fix make check

svn path=/trunk/; revision=17897

18 years agotranslate coordinates from the window they were received on to the event
Kristian Rietveld [Wed, 23 May 2007 12:32:42 +0000 (12:32 +0000)]
translate coordinates from the window they were received on to the event

2007-05-23  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
from the window they were received on to the event widget's window;
correct for no-window widgets after that, bail out on failure.  This
makes the coordinates given by GtkWidget::query-tooltip truly relative
to widget->window.  (#435188).

* gtk/gtkwidget.c (gtk_widget_class_init): update docs for
GtkWidget::query-tooltip.

svn path=/trunk/; revision=17896

18 years agoUpdated Welsh translation.
Rhys Jones [Wed, 23 May 2007 07:41:04 +0000 (07:41 +0000)]
Updated Welsh translation.

2007-05-23  Rhys Jones  <rhys@sucs.org>

* cy.po: Updated Welsh translation.

svn path=/trunk/; revision=17895

18 years agoUpdated Welsh translation.
Rhys Jones [Wed, 23 May 2007 07:35:30 +0000 (07:35 +0000)]
Updated Welsh translation.

2007-05-23  Rhys Jones  <rhys@sucs.org>

* cy.po: Updated Welsh translation.

svn path=/trunk/; revision=17894

18 years agoDon't create new pango fontmaps. Use the default pangocairo fontmap and
Behdad Esfahbod [Wed, 23 May 2007 03:19:37 +0000 (03:19 +0000)]
Don't create new pango fontmaps. Use the default pangocairo fontmap and

2007-05-22  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkprintcontext.c (gtk_print_context_finalize),
        (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
        (gtk_print_context_set_cairo_context),
        (gtk_print_context_get_pango_fontmap),
        (gtk_print_context_create_pango_context):
        Don't create new pango fontmaps.  Use the default pangocairo
        fontmap and set resolution on PangoContext instead. (#417707)

svn path=/trunk/; revision=17893

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 22 May 2007 15:30:24 +0000 (15:30 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=17891

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 22 May 2007 15:29:59 +0000 (15:29 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=17890

18 years agosvn test
Norayr Chilingaryan [Tue, 22 May 2007 12:47:06 +0000 (12:47 +0000)]
svn test

svn path=/trunk/; revision=17889

18 years agoupdated hebrew translation
Yair Hershkovitz [Tue, 22 May 2007 08:03:24 +0000 (08:03 +0000)]
updated hebrew translation

svn path=/trunk/; revision=17888

18 years agoSet the resolution.
Richard Hult [Mon, 21 May 2007 19:40:43 +0000 (19:40 +0000)]
Set the resolution.

2007-05-21  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
resolution.

* gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.

svn path=/trunk/; revision=17887

18 years agorevert last change.
Michael Natterer [Mon, 21 May 2007 12:43:50 +0000 (12:43 +0000)]
revert last change.

2007-05-21  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.

svn path=/trunk/; revision=17886

18 years agoremoved redundant check.
Tim Janik [Mon, 21 May 2007 12:05:57 +0000 (12:05 +0000)]
removed redundant check.

Mon May 21 13:58:32 2007  Tim Janik  <timj@imendio.com>

        * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.

svn path=/trunk/; revision=17885

18 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Mon, 21 May 2007 11:44:07 +0000 (11:44 +0000)]
Updated Thai translation.

* th.po: Updated Thai translation.

svn path=/trunk/; revision=17884

18 years agoBackport updated Italian translation from gtk-2-10 branch.
Luca Ferretti [Mon, 21 May 2007 09:16:00 +0000 (09:16 +0000)]
Backport updated Italian translation from gtk-2-10 branch.

2007-05-21  Luca Ferretti  <elle.uca@libero.it>

* it.po: Backport updated Italian translation from gtk-2-10
branch.

svn path=/trunk/; revision=17883

18 years agoBackport updated Italian translation from gtk-2-10 branch.
Luca Ferretti [Mon, 21 May 2007 09:10:16 +0000 (09:10 +0000)]
Backport updated Italian translation from gtk-2-10 branch.

2007-05-21  Luca Ferretti  <elle.uca@libero.it>

* it.po: Backport updated Italian translation from gtk-2-10
branch.

svn path=/trunk/; revision=17882

18 years agoMake it work better with multiple monitors.
Tor Lillqvist [Mon, 21 May 2007 02:58:16 +0000 (02:58 +0000)]
Make it work better with multiple monitors.

2007-05-21  Tor Lillqvist  <tml@novell.com>

* gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
multiple monitors.

svn path=/trunk/; revision=17881

18 years agoUpdated minimum DirectFB version required to enable gdk_directfb_create_child_window()
Attilio Fiandrotti [Sun, 20 May 2007 21:51:10 +0000 (21:51 +0000)]
Updated minimum DirectFB version required to enable gdk_directfb_create_child_window()

svn path=/trunk/; revision=17879

18 years agoAdd missing docs for the volume button
Bastien Nocera [Sat, 19 May 2007 23:47:25 +0000 (23:47 +0000)]
Add missing docs for the volume button

2007-05-20  Bastien Nocera  <hadess@hadess.net>

* gtk/gtk-docs.sgml: Add missing docs for the
volume button

svn path=/trunk/; revision=17878

18 years agoAdd the GtkVolumeButton widget, a button that pops up a scale when clicked
Bastien Nocera [Sat, 19 May 2007 23:35:00 +0000 (23:35 +0000)]
Add the GtkVolumeButton widget, a button that pops up a scale when clicked

2007-05-20  Bastien Nocera  <hadess@hadess.net>

* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
a button that pops up a scale when clicked (Closes: #415775)
* tests/Makefile.am:
* tests/testvolumebutton.c: Add a test program for the
volume button

2007-05-20  Bastien Nocera  <hadess@hadess.net>

* POTFILES.in: Add volume button to the list

2007-05-20  Bastien Nocera  <hadess@hadess.net>

        * gtk/gtk-sections.txt: Add the GtkVolumeButton widget
to the docs

svn path=/trunk/; revision=17877